package com.hhkj.admin.course.service.base;

import com.hhkj.admin.course.domain.CourseBankType;
import com.hhkj.admin.course.model.dopo.CourseBankTypeDo;
import com.hhkj.admin.course.model.dopo.CourseBankTypePo;
import com.ruoyi.common.base.biz.service.base.BaseService;

import java.util.List;
import java.util.Map;

/**
 * 课程题库类型Service接口
 *
 * @author ruoyi
 * @since 2023-05-11
 */
public interface CourseBankTypeService
        extends BaseService<CourseBankType, CourseBankTypeDo, CourseBankTypePo>
{

    /**
     * 统计默认题库的数量
     * @param courseIdList
     * @return key-courseId， value-默认题库数量
     */
    Map<Long, List<CourseBankType>> groupByCourseIdList(List<Long> courseIdList);
}
